package com.spirng_jpa.jpa_demo.mapper;

import com.spirng_jpa.jpa_demo.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Date:2022/03/11 16:54
 * @Author: weijunwei
 */
public interface JpaDemo extends JpaRepository<User,Integer> {

    List<User> findByName(String name);
}
